<mat-nav-list>
<a href="#" mat-list-item (click)="openLink($event,'A')">
    <span mat-line>Show All</span>
</a>
<a href="#" mat-list-item (click)="openLink($event,'C')">
    <span mat-line>Door is Closed</span>
</a>

<a href="#" mat-list-item (click)="openLink($event,'O')">
    <span mat-line>Door is open</span>
</a>

<a href="#" mat-list-item (click)="openLink($event,'B')">
    <span mat-line>Device battery is low</span>
</a>

</mat-nav-list>